package cn.tedu.goods.management.dao.persist.repository;



import cn.tedu.goods.management.pojo.eneity.Goods;
import cn.tedu.goods.management.pojo.vo.GoodsListForUserVO;
import cn.tedu.goods.management.pojo.vo.GoodsListItemVO;

import java.util.List;

public interface IGoodsRepository {
    int insert(Goods goods);

    List<GoodsListItemVO> selectGoodsList();

    List<GoodsListForUserVO> selectGoodsListForUser();

    int delete(Long id);

    int updateById(Goods goods);

    Goods selectById(Long id);

    int avatar(Goods goods);

}
